package cate.game.pvp.guildwar.data;

import cate.game.role.RoleSimpleBase;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("公会战日志")
public class GuildWarLog  {

    @NoteField( "记录时间")
    public long recordTime = System.currentTimeMillis();

    @NoteField("进攻方")
    public RoleSimpleBase a;

    @NoteField("防守方")
    public RoleSimpleBase b;

    @NoteField("是否胜利")
    public boolean win;

    @NoteField("获得星星数")
    public int star;

    @NoteField("录像id")
    public long replayUid;

    public GuildWarLog copy(){
        GuildWarLog cp = new GuildWarLog();
        cp.recordTime = this.recordTime;
        cp.a = this.a.copy();
        cp.b = this.b.copy();
        cp.win = this.win;
        cp.star = this.star;
        cp.replayUid = this.replayUid;
        return cp;
    }

}
